Post

Replies

Boosts

Views

Activity

Reply to Xcode 14 beta 3: Widget archival failed due to image being too large
I experienced the same issue, and unfortunately, I haven't found a bypass; however, this issue is relatively easy to address by simply down-sizing the images you display on your widgets. I use a function (attached below) to resize widget images to a width of 800 which I found to be a sweet spot. extension UIImage {   func resized(toWidth width: CGFloat, isOpaque: Bool = true) -> UIImage? {     let canvas = CGSize(width: width, height: CGFloat(ceil(width/size.width * size.height)))     let format = imageRendererFormat     format.opaque = isOpaque     return UIGraphicsImageRenderer(size: canvas, format: format).image {       _ in draw(in: CGRect(origin: .zero, size: canvas))     }   } }
Topic: App & System Services SubTopic: General Tags:
Aug ’22
Reply to Xcode 14 beta 3: Widget archival failed due to image being too large
I experienced the same issue, and unfortunately, I haven't found a bypass; however, this issue is relatively easy to address by simply down-sizing the images you display on your widgets. I use a function (attached below) to resize widget images to a width of 800 which I found to be a sweet spot. extension UIImage {   func resized(toWidth width: CGFloat, isOpaque: Bool = true) -> UIImage? {     let canvas = CGSize(width: width, height: CGFloat(ceil(width/size.width * size.height)))     let format = imageRendererFormat     format.opaque = isOpaque     return UIGraphicsImageRenderer(size: canvas, format: format).image {       _ in draw(in: CGRect(origin: .zero, size: canvas))     }   } }
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to iOS 16.1 Crashes when scroll (LazyVStack and LazyVGrid)
Experienced the same exact issue as Steepz where I had a LazyVGrid holding custom views which some happened to have an additional LazyVGrid. Couldn't find a workaround so I resorted to a UIViewRepresentable holding a CollectionView as it seems there aren't any workarounds at the moment.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to Since iOS 16.1, my widget started to not work properly. Seems like a bug. Can't access Calendar / reminder
Currently facing the exact issue with WidgetKit failing to fetch calendar events/reminders, were you able to find a solution?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to AppIntents don't work on iOS 16 if app is built with Xcode 15.3
Same issue for me for my app intents used on WidgetKit. They fail to work on lower iOS versions and throw the error: Could not find an intent with identifier INTENT_NAME, mangledTypeName: Optional("")
Replies
Boosts
Views
Activity
May ’24